//调用接口配置文件
import { request } from 'config/request'

// 获取省市区
export async function queryAllAddress(params) {
  return request({
    url: 'admin/address/queryAllAddress',
    method: 'GET',
    data: params,
  });
};
// 获取列表 admin/user/recommend/page
export async function getPromoteList(params) {
  return request({
    url: 'admin/user/recommend/page',
    method: 'POST',
    data: params,
  });
};
//楼盘列表
export async function houseListGet(params) {
  return request({
    url: 'admin/estate/list',
    method: 'POST',
    data: params,
    headers: {
      "Content-type": "application/json",
    }
  });
};
//文件导出
export async function exportFile(params) {
  return request({
    url: 'admin/user/export/excel',
    method: 'POST',
    data: params,
    headers: {
      "Content-type": "application/json",
    }
  });
};
